public class Main{
	public static void main(String[] args){
		Person me = new Person("Adams","France paris");

		Student st = new Student(me,10);
		Employee em = new Employee(me,300);

		System.out.println("Student Name = " +st.getName() + "Student Address = " + st.getAddress() + "Student grade = " + st.getGrades());
		System.out.println("Employee Name = " + em.getName() + "Student Address = " + em.getAddress() + "Employee salary = "+em.getSalary());
	}
}
